import Vue from "vue"
import Vuex from 'vuex'

Vue.use(Vuex)

// 【1】注意导出：创建一个store仓库
export default new Vuex.Store({
    name: "store",
    state: {
        userData: {},
        userToken: "",
        notifications: []
    },
});